/*
  ==============================================================================

    MyDropdownChoice.h
    Created: 8 Jul 2014 8:46:44pm
    Author:  henryp

  ==============================================================================
*/

#ifndef MYDROPDOWNCHOICE_H_INCLUDED
#define MYDROPDOWNCHOICE_H_INCLUDED

#include "../JuceLibraryCode/JuceHeader.h"

//==============================================================================
/*
*/
class MyDropdownChoice    : public ChoicePropertyComponent
{
public:
  MyDropdownChoice (const Value &valueToControl, const String &propertyName, const StringArray &choices, const Array< var > &correspondingValues);

  void setIndex (int newIndex);
private:
    JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyDropdownChoice)
};


#endif  // MYDROPDOWNCHOICE_H_INCLUDED
